<div class="clr1"></div>
	
     <div class="fotter">
             <div class="fotter1">
		             <div class="fotter2">
					          <h4>关于公主恋</h4> <h4>合作伙伴</h4><h4> 营销中心</h4><h4>联系客服</h4><h4>诚征英才</h4><h4> 联系我们</h4><h4> 法律声明</h4>                     </div>
					 <div class="clr"></div>
					 <div class="xian"></div>
					 <div class="clr"></div>
					 <div class="fotter2">2012-2013 公主恋 版权所有，并保留所有权利。  ICP备案证书号:辽ICP备12008461号 </div>
		     </div>
       </div>
<script type="text/javascript">
    $(document).ready(function(){
        $('.focuser_img').click(function(){
            $focuser = $(this).attr('focuser_id');

            $.ajax({
                type:"POST",
                url:"<?php echo base_url().'index/addfocus';?>",
                dataType:"json",
                data:{'focuser':$focuser},
                success:function(data){
                    alert(data.info);
                }
            })
        });
        $('.notin').click(function(){
            alert('小主，登录之后可以喜欢这宝贝哟~');
            //return false;
        });

    })
</script>
<script type="text/javascript">
window.onload=function(){
	speed=-1;
	move=getId('banner');
	getId('wrap2').innerHTML=getId('ltaolun2').innerHTML;
	var time=setInterval(automove,20);
	getId('ltaolun').onmouseover=function(){
		clearInterval(time);
	}
	getId('ltaolun').onmouseout=function(){
		time=setInterval(automove,20);
	}
	getId('left').onclick=function(){
		speed=-1;
	}
	getId('right').onclick=function(){
		speed=1;
	}
}
function getId(id){
	return document.getElementById(id);
}
function automove(){
	if(parseInt(move.style.left)<= -getId('ltaolun2').offsetWidth){
		move.style.left=0+'px';
	}
	if(move.offsetLeft>0){
		move.style.left=-getId('ltaolun2').offsetWidth+'px';
	}
	move.style.left=move.offsetLeft+speed+'px';
}
</script>

 <script type="text/javascript">
    function DY_scroll(wraper,prev,next,img,speed,or)
    {
    var wraper = $(wraper);
    var prev = $(prev);
    var next = $(next);
    var img = $(img).find('.div999');
    var w = img.find('.trial_product_left').outerWidth(true);
    var s = speed;
    next.click(function()
    {
    img.animate({'margin-left':-w},function()
    {
    img.find('.trial_product_left').eq(0).appendTo(img);
    img.css({'margin-left':0});
    });
    });
    prev.click(function()
    {
    img.find('.trial_product_left').prependTo(img);
    img.css({'margin-left':-w});
    img.animate({'margin-left':0});
    });
    if (or == true)
    {
    ad = setInterval(function() { next.click();},s*1000);
    wraper.hover(function(){clearInterval(ad);},function(){ad = setInterval(function() { next.click();},s*1000);});
    }
    }
    DY_scroll('.trial_product ','.prev','.next','.img-list',3,true);
    </script>

</body>
</html>